from rehtml import render

# a class that returns html fragments as its str() form
class Anything(object):
    def __init__(self, who='World'):
        self.who = who
    def __str__(self):
        return '<body bgcolor="#ABC"><center><b> Hello %s! </b></center>' % self.who
        
render(Anything())
